package cn.edu.nju.ws.sview.reasoning;

/**
 * @author Gong Saisai
 */
public class BothArg implements QueryArg{
     private Constant firstArg;
     private Constant secondArg;
     public BothArg(Constant firstArg,Constant secondArg){
    	 this.firstArg =firstArg;
    	 this.secondArg = secondArg;
     }
     public Constant getFirstArg(){
    	 return this.firstArg;
     }
     public Constant getSecondArg(){
    	 return this.secondArg;
     }
     public String toString(){
    	 String s = "["+firstArg.toString()+","+secondArg.toString()+"]";
    	return s ;
     }
}
